package com.bjsubway.gov.info.manager.controller;

import com.bjsubway.gov.info.manager.service.ManagerService;

public class ManagerController {
    ManagerService ms = new ManagerService();
    SubwayController sc = new SubwayController();

    public void login(String id, String name) {
        boolean res = ms.login(id, name);
        if(res){
            System.out.println("登录成功!");
            sc.start();
        }else{
            System.out.println("工号或用户名错误,请重新输入!");
        }
    }
}
